package org.jeecg.modules.demo.totaldividendamount.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import org.apache.ibatis.annotations.Param;
import org.jeecg.modules.demo.totaldividendamount.entity.TotalDividendAmount;

/**
 * @Description: 总分红金额
 * @Author: jeecg-boot
 * @Date: 2022-01-14
 * @Version: V1.0
 */
public interface TotalDividendAmountMapper extends BaseMapper<TotalDividendAmount> {
    /**
     * 根据股东Id查询
     *
     * @param page
     * @param stockId
     * @return
     */
    IPage<TotalDividendAmount> getByStockId(Page page, @Param("stockId") String stockId);
}
